/** @file lable.h
 */
#ifndef _LABLE_H_
#define _LABLE_H_

#include "widget.h"
#include "font.h"

class Lable:public Widget
{
public:
    Lable(HWND parent=0, char *text="");
    ~Lable();
    
    char *text;
    void setText(char *text);
    void setFont(FONT *font);
    FONT *font;
private:
    virtual void draw(Rect *r);
    virtual int eventHandler(HWND hWnd, int iMsg, WPARAM wParam, LPARAM lParam);
    void setupWidgets();
};


#endif

